﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="repwd.aspx.cs" Inherits="Web.webuser.repwd" %>
<%@ Register Src="~/controls/message.ascx" TagName="message" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
        <div class="content-box">
            <!-- Start Content Box -->
            <div class="content-box-header">
                <h3>
                    密码修改</h3>
                <ul class="content-box-tabs">
                    <li><a id="a_tab1" href="#tab1" class="default-tab">密码修改</a></li>
                </ul>
                <div class="clear">
                </div>
            </div>
            <!-- End .content-box-header -->
            <div class="content-box-content">
                <div class="tab-content default-tab" id="tab1">
                    <div class="form">
                        <fieldset>
                            <uc:message ID="u_message" Visible="false" runat="server" />
                            <p>
                                <label>
                                    原密码</label>
                                <asp:TextBox ID="txb_old" CssClass="text-input small-input" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ErrorMessage="请输入旧密码" ControlToValidate="txb_old" 
                                    CssClass="input-notification error png_bg" Display="Dynamic" 
                                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </p>
                            <p>
                                <label>
                                    新密码</label>
                                <asp:TextBox ID="txb_new" CssClass="text-input small-input" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ErrorMessage="请输入新密码" ControlToValidate="txb_new" 
                                    CssClass="input-notification error png_bg" Display="Dynamic" 
                                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </p>
                            <p>
                                <label>
                                    确认密码</label>
                                <asp:TextBox ID="txb_new2" CssClass="text-input small-input" runat="server" TextMode="Password"></asp:TextBox>

                                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                    ControlToCompare="txb_new" ControlToValidate="txb_new2" 
                                    CssClass="input-notification error png_bg" Display="Dynamic" 
                                    ErrorMessage="请确认密码" SetFocusOnError="True"></asp:CompareValidator>

                            </p>
                            <p>
                                <asp:Button ID="btn_save" CssClass="button" runat="server" Text="修改密码" OnClick="btn_save_Click" />
                        </fieldset>
                        <div class="clear">
                        </div>
                    </div>
                    <!-- End .clear -->
                </div>
                <!-- End #tab1 -->
            </div>
            <!-- End .content-box-content -->
        </div>
    </form>
</asp:Content>
